import request from '../request'
import type { personInfoMsgDto } from './type'

// 根据身份证号获取信息
export function getInfoByIdCardApi(data: { idCardNo: string }): Promise<personInfoMsgDto> {
    return request.get('/api/v1/blue/user/get-info-by-idCard', data)
}

// 注销账号
export function logoutAccountApi(data: { idCardNo: string }) {
    return request.put('/api/v1/blue/user/logout-account', data)
}
